﻿<controls:ChildWindow x:Class="SoftwareLogistics.SharepointClient.Silverlight.Views.PopupDataForm"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="500" Height="600" 
           Title="PopupDataForm"  >
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,6,6,6" Grid.Row="0" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,6,85,6" Grid.Row="0" />
        <ScrollViewer Grid.Row="1" Background="White">
            <StackPanel x:Name="FormFields" />
        </ScrollViewer>
    </Grid>
</controls:ChildWindow>